﻿using Furion.DataValidation;

namespace ZeroAdmin.Core;

/// <summary>
/// 自定义验证
/// </summary>
[ValidationType]
public enum DataValidationTypeEnum
{
    /// <summary>
    /// 手机号验证
    /// </summary>
    [ValidationItemMetadata(@"^(?:(?:\+|00)86)?1\d{10}$", "请输入正确的手机号")]
    PhoneNumberValidate
}
